﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004D7 RID: 1239
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildShopAbilityResetScRsp : IMessage<EvolveBuildShopAbilityResetScRsp>, IMessage, IEquatable<EvolveBuildShopAbilityResetScRsp>, IDeepCloneable<EvolveBuildShopAbilityResetScRsp>, IBufferMessage
	{
		// Token: 0x1700100E RID: 4110
		// (get) Token: 0x0600380A RID: 14346 RVA: 0x0009A80F File Offset: 0x00098A0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildShopAbilityResetScRsp> Parser
		{
			get
			{
				return EvolveBuildShopAbilityResetScRsp._parser;
			}
		}

		// Token: 0x1700100F RID: 4111
		// (get) Token: 0x0600380B RID: 14347 RVA: 0x0009A816 File Offset: 0x00098A16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildShopAbilityResetScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001010 RID: 4112
		// (get) Token: 0x0600380C RID: 14348 RVA: 0x0009A828 File Offset: 0x00098A28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildShopAbilityResetScRsp.Descriptor;
			}
		}

		// Token: 0x0600380D RID: 14349 RVA: 0x0009A82F File Offset: 0x00098A2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityResetScRsp()
		{
		}

		// Token: 0x0600380E RID: 14350 RVA: 0x0009A844 File Offset: 0x00098A44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityResetScRsp(EvolveBuildShopAbilityResetScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.itemValue_ = other.itemValue_;
			this.shopSkillInfos_ = other.shopSkillInfos_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600380F RID: 14351 RVA: 0x0009A891 File Offset: 0x00098A91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildShopAbilityResetScRsp Clone()
		{
			return new EvolveBuildShopAbilityResetScRsp(this);
		}

		// Token: 0x17001011 RID: 4113
		// (get) Token: 0x06003810 RID: 14352 RVA: 0x0009A899 File Offset: 0x00098A99
		// (set) Token: 0x06003811 RID: 14353 RVA: 0x0009A8A1 File Offset: 0x00098AA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001012 RID: 4114
		// (get) Token: 0x06003812 RID: 14354 RVA: 0x0009A8AA File Offset: 0x00098AAA
		// (set) Token: 0x06003813 RID: 14355 RVA: 0x0009A8B2 File Offset: 0x00098AB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemValue
		{
			get
			{
				return this.itemValue_;
			}
			set
			{
				this.itemValue_ = value;
			}
		}

		// Token: 0x17001013 RID: 4115
		// (get) Token: 0x06003814 RID: 14356 RVA: 0x0009A8BB File Offset: 0x00098ABB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<EvolveBuildShopSkillInfo> ShopSkillInfos
		{
			get
			{
				return this.shopSkillInfos_;
			}
		}

		// Token: 0x06003815 RID: 14357 RVA: 0x0009A8C3 File Offset: 0x00098AC3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildShopAbilityResetScRsp);
		}

		// Token: 0x06003816 RID: 14358 RVA: 0x0009A8D4 File Offset: 0x00098AD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildShopAbilityResetScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.ItemValue == other.ItemValue && this.shopSkillInfos_.Equals(other.shopSkillInfos_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003817 RID: 14359 RVA: 0x0009A934 File Offset: 0x00098B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ItemValue != 0U)
			{
				num ^= this.ItemValue.GetHashCode();
			}
			num ^= this.shopSkillInfos_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003818 RID: 14360 RVA: 0x0009A99A File Offset: 0x00098B9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003819 RID: 14361 RVA: 0x0009A9A2 File Offset: 0x00098BA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600381A RID: 14362 RVA: 0x0009A9AC File Offset: 0x00098BAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ItemValue != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.ItemValue);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			this.shopSkillInfos_.WriteTo(ref output, EvolveBuildShopAbilityResetScRsp._repeated_shopSkillInfos_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600381B RID: 14363 RVA: 0x0009AA18 File Offset: 0x00098C18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ItemValue != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemValue);
			}
			num += this.shopSkillInfos_.CalculateSize(EvolveBuildShopAbilityResetScRsp._repeated_shopSkillInfos_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600381C RID: 14364 RVA: 0x0009AA84 File Offset: 0x00098C84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildShopAbilityResetScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ItemValue != 0U)
			{
				this.ItemValue = other.ItemValue;
			}
			this.shopSkillInfos_.Add(other.shopSkillInfos_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600381D RID: 14365 RVA: 0x0009AAE5 File Offset: 0x00098CE5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600381E RID: 14366 RVA: 0x0009AAF0 File Offset: 0x00098CF0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 96U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.shopSkillInfos_.AddEntriesFrom(ref input, EvolveBuildShopAbilityResetScRsp._repeated_shopSkillInfos_codec);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ItemValue = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001617 RID: 5655
		private static readonly MessageParser<EvolveBuildShopAbilityResetScRsp> _parser = new MessageParser<EvolveBuildShopAbilityResetScRsp>(() => new EvolveBuildShopAbilityResetScRsp());

		// Token: 0x04001618 RID: 5656
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001619 RID: 5657
		public const int RetcodeFieldNumber = 12;

		// Token: 0x0400161A RID: 5658
		private uint retcode_;

		// Token: 0x0400161B RID: 5659
		public const int ItemValueFieldNumber = 8;

		// Token: 0x0400161C RID: 5660
		private uint itemValue_;

		// Token: 0x0400161D RID: 5661
		public const int ShopSkillInfosFieldNumber = 14;

		// Token: 0x0400161E RID: 5662
		private static readonly FieldCodec<EvolveBuildShopSkillInfo> _repeated_shopSkillInfos_codec = FieldCodec.ForMessage<EvolveBuildShopSkillInfo>(114U, EvolveBuildShopSkillInfo.Parser);

		// Token: 0x0400161F RID: 5663
		private readonly RepeatedField<EvolveBuildShopSkillInfo> shopSkillInfos_ = new RepeatedField<EvolveBuildShopSkillInfo>();
	}
}
